﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Xml;

namespace DotNet.Common
{
    /// <summary>
    /// 配置文件读取
    /// </summary>
    public class DotConfig
    {
        public static string GetAppSettingsValue(string key)
        {
            string retValue = "";
            retValue = ConfigurationManager.AppSettings["Zrnet_" + key];
            if (retValue == "")
                throw new Exception("Web.config 错误!");
            return retValue;
        }
    }
}
